<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <script src="../../angular-1.5.8/angular.js"></script>
    <!--在引入的时候注意位置是否引入的正确-->
    <style>
    
        .box{
            width: 200px;
            height: 200px;
            border: 1px solid #000;
        }
    
    </style>
</head>
<body >

    <div ng-app="mine">
        <input type="text" ng-model="txt">
        <div class="box">{{txt}}</div>
    </div>
    
</body>
<script>
    angular.module("mine",[]);

</script>
</html>